<form id="form-useful" action="/save/useful" method="post">
    <input class="form-data" type="hidden" name="useful_id" value="<?= $this->form->getElement()->getId() ?>" />
    <div class="form-data" >
        <label for="title">Заголовок:</label>
        <input type="text" name="useful_title" id="title" value="<?= $this->form->getElement()->getUsefulTitle(); ?>"/>
    </div>
    <div class="form-data" >
        <label for="desc">Описание:</label>
        <textarea id="desc" name="desc"><?= $this->form->getElement()->getUsefulDesc(); ?></textarea>
    </div>
    <div class="form-data">
        <label for="is_active">Включен:</label>
        <input id="is_active" name="is_active" type="checkbox" <?if ($this->form->getElement()->getUsefulIsActive()):?>checked <? endif; ?> >
    </div>
    <input type="submit" value="Готово" />
</form>